Patron Account Inquiry
POST/api/patronsession/accountlookup
Operators will call this method on the on the VIP Connect API to get an end user’s VIP account data. This request will not create a patron session. It is only used to validate or get VIP end user details.
Operators need to send a JWT bearer token to authenticate the request.
ID details or VIP number (not both) need to be sent as parameters to get end user VIP Preferred data.
Request
Responses
- 200
- 400
- 401
- 404
Account inquiry call received and data returned.
Patron Bank Accounts - The bankAccounts property is optional and is not returned by default. See Feature Toggles. The accountVerified field is only returned if it's enabled for the operator.
Instant Payment Eligible - The property instantPaymentEligible within the bankAccounts data indicates if the bank supports instant payment for withdrawal transactions. See fundTransferType withdraw request parameter for a list of possible values.
Patron Bank Account Number Display - The field bankAccounts[x].displayAccountNumber should be used for displaying the last 4 digits of the patron's bank account number. The maskedAccountNumber field may not match displayAccountNumber, as the maskedAccountNumber is a TAN (Tokenized Account Number).
{
"memberSince": "2022-08-01T00:00:00+00:00",
"lastTransaction": "0001-01-01T00:00:00+00:00",
"mostRecentTransactionAmount": 0.0,
"dateOfBirth": "09101997",
"last4SSN": "3545",
"incrementalLimitAmount": 0.0,
"maxLimitAmount": 0.0,
"vipCardNumber": "7210988860",
"idNumber": "****3545",
"idType": "DL",
"idState": "GA",
"firstName": "JOHN",
"lastName": "SMITH",
"name": "JOHN SMITH",
"address": "28 NQQODHNDV",
"city": "PRZYFAYQA",
"state": "TN",
"zip": "28292",
"homePhoneNumber": "8434811326",
"mobilePhoneNumber": "8434811326",
"email": "8ZN2EMYP@5JP6OEAZ.COM",
"limitAmount": 4500.0,
"availableAmount": 4500.0,
"isInGoodStanding": true,
"oneClickDiscountEligible": false,
"bankAccounts": [
{
"maskedAccountNumber": "****9999",
"displayAccountNumber": "2976",
"routingNumber": "11111111",
"bankName": "Jpmorgan Chase Bank, Na",
"availableLimit": 0.00,
"instantPaymentEligible": false,
"accountVerified": false
},
{
"maskedAccountNumber": "**1111",
"displayAccountNumber": "1111",
"routingNumber": "22222222",
"bankName": "Bank Of America, Na",
"availableLimit": 0.00,
"instantPaymentEligible": true,
"accountVerified": false
}
]
}
"bankAccounts": [
{
"maskedAccountNumber": "****9999",
"displayAccountNumber": "2976",
"routingNumber": "11111111",
"bankName": "Jpmorgan Chase Bank, Na",
"availableAmount": 348.31,
"instantPaymentEligible": true,
"accountVerified": true
},
{
"maskedAccountNumber": "**1111",
"displayAccountNumber": "1111",
"routingNumber": "22222222",
"bankName": "Bank Of America, Na",
"availableAmount": 4500.0,
"instantPaymentEligible": false,
"accountVerified": false
}
]
Bad Request
Error message for all other cases, such as account closed
{
"errorCode": "13",
"transactionStage": "VIP Account Inquiry",
"operatorErrorMessage": "Account is closed.",
"operatorDeclineDescription": "This transaction has been requested from an account that has been closed. For further assistance please contact Pavilion Gaming Services customer support at 1-800-500-1973 with reference code E-13.",
"patronErrorMessage": "We are unable to complete this request. Please contact our Customer Service Team at 1-800-500-1973. Reference code E-13 so that we may better serve you."
}
JWT credentials invalid
The JWT token provided in the request is not valid.
Account Not Found
Account inquiry call received but user was not found
{
"errorCode": "12",
"transactionStage": "VIP Account Inquiry",
"operatorErrorMessage": "Account not found.",
"operatorDeclineDescription": "Account Not Found. For further assistance please contact Pavilion Gaming Services customer support at 1-800-500-1973 with reference code E-12.",
"patronErrorMessage": "We are unable to complete this request. Please contact our Customer Service Team at 1-800-500-1973. Reference code E-12 so that we may better serve you."
}